package org.apache.catalina.net;

import java.io.IOException;
import java.net.InetAddress;
import java.net.ServerSocket;

/**
 * 2020/7/22 : 10:54
 */
public interface ServerSocketFactory {
    
    ServerSocket createSocket(int port, int backlog) throws IOException;

    ServerSocket createSocket(int port, int acceptCount, InetAddress ifAddress) throws IOException;
}
